import { IsString ,IsEmail,IsNotEmpty} from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
export class sendcodeByEmail {
    @ApiProperty()
    @IsEmail()
    @IsNotEmpty({message:'email 不能为空'})
    readonly email: string;
}
